<!DOCTYPE html>
<html ng-app="wx">

	<head>
		<meta charset="UTF-8">
		<title>BeraringFX</title>

	</head>
	<link rel="stylesheet" href="css/main.css" />
	<link rel="stylesheet" type="text/css" href="layui-v2.2.4/layui-v2.2.4/layui/css/layui.css" />
	<link rel="stylesheet" type="text/css" href="bootstrap-table-master/dist/bootstrap-table.css" />
	<link rel="stylesheet" href="bootstrap-3.3.7-dist/css/bootstrap.css" />
	<link rel="stylesheet" type="text/css" href="css/simplePagination.css"/>
	<link rel="shortcut icon" href="images/ico.ico" />

	<body ng-controller="moreController">

		<ui-view></ui-view>
		<div id="genSet" style="display: none;">
		<div class="box">
			<div class="textBox">
				<label>分配跟单比例范围:</label>
				<a href="javascript:;" ng-click="setCount()">{{maxmoney ||0}}%</a>
			</div>
			<p class="tishi">此设置将于下次交易生效</p>
			<!--<div class="explain">
			<span class="blue">跟单手数计算公式为：</span>
		 	<span></span>
		 </div>-->
			<div id="infoGenKnow">
				<p>跟单手数计算公式为：</p>
				<span>信号源下单手数=</span><span style="width: 8em;display: inline-block;    position: relative;top: 1.7em;margin: 0 0.5em;">信号源下单手数<hr style="border-color: gray;"> 信号源账户净值</span>
				<span>×资金比例×  跟单账户净值</span>
				<br />
				<br />
				<br />
				<p style="margin-bottom: 20px;">举例：</p>
				<span>1.如果策略账户净值1万美金下一手，您的账户净值是1    	   千美金，那么当设置为100%时下0.1手，设置为80%  	   时0.08手，以此类推.</span>
				<br />
				<span>2.如果策略账户净值1万美金下1手，您的账户净值是50   	   美金，那么当设置为100%时应该下0.005手，但由于             	   交易平台支持最小下单手数为0.01手，所以您将不下单。</span>
				<br />
				<span>3.如果一个策略的年化收益为100%，资金撤回为20%   	   那么当设置为50%时相当于该策略对你的账户来说， 	   年化收益为50%，资金撤回为10%。</span>
				<div class="butns">
					<button class="layui-btn layui-btn-normal" ng-click="sureGoShop(0)" ng-if="gendan">立即跟单</button>
					<button class="layui-btn layui-btn-normal" ng-click="sureGoShop(1)" ng-if="xiugai">确认修改</button>

					<button class="layui-btn layui-btn-normal" ng-click="canselList()" ng-disabled="noCansel">取消跟单</button>
				</div>
			</div>

		</div>
	</div>

	<div id="moreGen" style="display: none;">
		<span>请输入跟单比例：</span>
		<input type="number" id="myNumber" ng-value="maxmoney" /><span>%</span>
		<p id="changeMoney">${{newMoney}}</p>
		<p class="red">(此设置将于下次交易生效)</p>
		<div class="butns">
			<button class="layui-btn layui-btn-normal" style="margin-right:20px ;" ng-click="sureNumber()">确认</button>
			<button class="layui-btn layui-btn-normal" ng-click="canselNumber()">取消</button>
		</div>
	</div>
	<div id="canselList" style="display: none;">
		<div class="wrap">
			<p>如果您的信号源的当前持仓中还有跟随信号源的做单，取 跟单前请选择以下的方式进行处理：
			</p>
			<div class="textBox">
				<span>立即平仓正在跟随的订单并解除跟单</span>
				<div class="chooseYes choose">
					<img src="img/gou.png" />
				</div>

			</div>
			<div class="textBox">
				<span>与信号源同步平仓已跟随的订单并解除跟单</span>
				<div class="chooseNo choose">
					<img src="img/gou.png" />
				</div>

			</div>
			<div class="butns">
				<button class="layui-btn layui-btn-normal" ng-click="canselGen()">确认</button>
				<button class="layui-btn layui-btn-normal" ng-click="canselGenPage()">取消</button>
			</div>
		</div>
	</div>
</div>
	</body>

	<script src="js/jquery-2.1.0.js"></script>
    <script src="js/echarts.min.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript" src="layui-v2.2.4/layui-v2.2.4/layui/layui.js"></script>
	<script type="text/javascript" src="js/main.js"></script>
	<script src="js/BD.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/jquery.simplePagination.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/angular.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/angular-route.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/config.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/moreController.js" type="text/javascript" charset="utf-8"></script>
	<script src="layui-v2.2.4/layui-v2.2.4/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script src="bootstrap-table-master/dist/bootstrap-table.js"></script>
	<script src="bootstrap-table-master/dist/locale/bootstrap-table-zh-CN.js" type="text/javascript"></script>
	<script src="js/jquery.simplePagination.js" type="text/javascript" charset="utf-8"></script>

</html>
<script>

</script>